package com.example.vv.model.account.base.contract;

import com.example.vv.fragmentWork.base.BaseView;
import com.example.vv.fragmentWork.entity.ChaptersEntity;
import com.example.vv.res.net.BaseResponse;

import java.util.List;

import io.reactivex.Observable;

public interface AccountContract {
    interface Model{
        Observable<BaseResponse> GET_CHAPTER(String api);
    }
    interface View extends BaseView{
        void getChapter(List<ChaptersEntity> chaptersEntities);
    }
    interface Presenter{

        //获取公众号tab
        void setChapter();
        List<String> setTitle(List<ChaptersEntity> chaptersEntities);

    }
}
